package club.banyuan.main;

import club.banyuan.cat.Cat;
import club.banyuan.dog.Dog;

public class Main {

    public static void main(String[] args) {
        Dog aDog = new Dog("哈士奇", -100);
        Dog bDog = new Dog("金毛", 100);
        Dog cDog = new Dog("柯基", 40);

        Cat aCat = new Cat("波斯", "白色");
        Cat bCat = new Cat("英短", "黑色");

        aDog.printInfo();
        bDog.printInfo();
        cDog.printInfo();

        aCat.print();
        bCat.print();

        aDog.playWith(aCat);
        aDog.playWith(bCat);
        bDog.playWith(aCat);
        bDog.playWith(bCat);
        cDog.playWith(aCat);
        cDog.playWith(bCat);

        aCat.playWith(aDog);
        aCat.playWith(bDog);
        aCat.playWith(cDog);
        bCat.playWith(aDog);
        bCat.playWith(bDog);
        bCat.playWith(cDog);
    }
}
